package org.zjx.message.messages;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.zjx.message.AbstractMessage;

@Data
@EqualsAndHashCode(callSuper = true)
public class HeartbeatResponse extends AbstractMessage {
    private String workerId;  // 包含 workerId 字段

    public HeartbeatResponse() {}

    @Override
    public String toString() {
        return "HeartbeatResponse{" +
                "workerId='" + workerId + '\'' +
                ", messageId='" + getMessageId() + '\'' +
                '}';
    }
}